<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" template="/WEB-INF/template.xhtml">

    <ui:define name="title">
        Getting Started
    </ui:define>

    <ui:define name="description">
        PrimeFaces is a lightweight library with one jar, zero-configuration and no required dependencies. You just need to download PrimeFaces, add the primefaces-{version}.jar to your classpath and import the namespace to get started.
    </ui:define>

    <ui:define name="implementation">
        <h3>Download</h3>
        <p>PrimeFaces can be downloaded manually or via maven.</p>
<pre name="code" class="brush:xml">
&lt;dependency&gt;
    &lt;groupId&gt;org.primefaces&lt;/groupId&gt;
    &lt;artifactId&gt;primefaces&lt;/artifactId&gt;
    &lt;version&gt;7.0&lt;/version&gt;
&lt;/dependency&gt;
</pre>


        <h3>Namespaces</h3>
        <p>PrimeFaces namespace is necessary to add PrimeFaces components to your pages.</p>

<pre name="code" class="brush:xml">
xmlns:p="http://primefaces.org/ui"
</pre>

        <h3>Test Run</h3>
        <p>That’s it, now you can add a test component to see if everything is ok..</p>

<pre name="code" class="brush:xml">
&lt;html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui"&gt;
    
    &lt;h:head&gt;
    &lt;/h:head&gt;

    &lt;h:body&gt;
        &lt;p:spinner /&gt;
    &lt;/h:body&gt;
&lt;/html&gt;
</pre>
    </ui:define>

    <ui:define name="source" />
</ui:composition>
